﻿
using System.Collections.Generic;
using QLKS.DAL;
using QLKS.Entity;

namespace QLKS.BLL
{
    public class PhieuTraPhongBUS
    {
        private static PhieuTraPhongDAO dao = new PhieuTraPhongDAO();

        public static List<PhieuTraPhong> GetByAll(PhieuTraPhong obj)
        {
            return dao.GetByAll(obj);
        }

        public static bool Insert(PhieuTraPhong obj)
        {
            return dao.Insert(obj);
        }

        public static bool Update(PhieuTraPhong obj)
        {
            return dao.Update(obj);
        }

        public static bool Delete(PhieuTraPhong obj)
        {
            return dao.Delete(obj);
        }
    }
}
